import { THEME_LIGHT } from '/src/constants';

const state = () => {
  // 默认为亮色
  themeName: THEME_LIGHT
}
const mutations = {
  setThemeName(state, themeName) {
    state.themeName = themeName
  }
}
const actions = {
}

export default {
  // 独立作用域
  namespaced: true,
  state,
  mutations,
  actions
}